<!--
 * @Description: 
 * @Author: zhuying
 * @Date: 2024-11-12 19:33:45
 * @LastEditors: rendc
 * @LastEditTime: 2024-11-12 19:39:17
-->
<template>
      <div v-html="htmlContent"></div>
     </template>
     
     <script>
     export default {
      data() {
       return {
        htmlContent: '<p style="color: blue;">这是一个带有 HTML 标签的字符串</p>'
       };
      }
     };
     </script>
     
     <style scoped>
     </style>